<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace backend\assets;

use yii\web\AssetBundle;

/**
 * @author Wuyunhua
 * @since 2.0
 */
class DataTableAsset extends AssetBundle
{
    public $sourcePath = '@backend/assets/static/';
    public $css = [
        'css/jquery.dataTables.min.css',
        'css/jquery.dataTables_themeroller.css',
    ];
    public $js = [
        'js/jquery.dataTables.min.js'
    ];
    public $jsOptions = [
        'position'=>\yii\web\View::POS_HEAD
    ];
    public $depends = [
        'yii\web\YiiAsset',
    ];
    public $publishOptions = [
        'forceCopy'=>false
    ];
}
